# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header

DESCRIPTION="mixer for x."
HOMEPAGE="http://mpx.freeshell.net/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
S=${WORKDIR}/${PN}
LICENSE="GPL-2"
IUSE="xine mad vorbis flac aac"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

RDEPEND=">=dev-lang/mono-1.1
	media-libs/flac"

DEPEND="${RDEPEND}
	dev-util/pkgconfig
	app-text/scrollkeeper"

src_unpack() {
	unpack ${A}
	sed -ie 's:in):in)\\:' ${S}/Xw/Base.c
	sed -ie 's:out):out)\\:' ${S}/Xw/Base.c
}
src_compile() {
	econf
	emake -j1 || die "compile failure"
}

src_install() {
	einstall || die
}

